package model

import (
	"time"
)

type MapTracingLastTriggerTime map[int64]*TracingLastTriggerTime

type TracingLastTriggerTime struct {
	TracingId   int64     `xorm:"pk" form:"-"`
	LastTriggerTime time.Time `form:"-"`
}

func (mtltt MapTracingLastTriggerTime) GetTracingIds() []int64 {
	tracingIds := []int64{}
	for _, v := range mtltt {
		tracingIds = append(tracingIds, v.TracingId)
	}

	return tracingIds
}